package com.rmy.publish.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.rmy.common.annotation.Excel;
import com.rmy.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 节目管理对象 mips_program_info
 *
 * @author rmy
 * @date 2023-05-21
 */
public class MipsProgramInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 节目主键 */
    private Long programId;

    /** 节目编号 */
    @Excel(name = "节目编号")
    private String programCode;

    /** 节目名称 */
    @Excel(name = "节目名称")
    private String programName;

    /** 预览路径 */
    @Excel(name = "预览路径")
    private String previewUrl;

    /** 所属机构 */
    @Excel(name = "所属机构")
    private Long deptId;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private String auditStatus;

    /** 删除标志 */
    private String delFlag;

    /**
     * 页面列表
     */
    List<MipsPageInfo> pageInfoList;

    public void setProgramId(Long programId)
    {
        this.programId = programId;
    }

    public Long getProgramId()
    {
        return programId;
    }
    public void setProgramCode(String programCode)
    {
        this.programCode = programCode;
    }

    public String getProgramCode()
    {
        return programCode;
    }
    public void setProgramName(String programName)
    {
        this.programName = programName;
    }

    public String getProgramName()
    {
        return programName;
    }
    public void setPreviewUrl(String previewUrl)
    {
        this.previewUrl = previewUrl;
    }

    public String getPreviewUrl()
    {
        return previewUrl;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setAuditStatus(String auditStatus)
    {
        this.auditStatus = auditStatus;
    }

    public String getAuditStatus()
    {
        return auditStatus;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("programId", getProgramId())
            .append("programCode", getProgramCode())
            .append("programName", getProgramName())
            .append("previewUrl", getPreviewUrl())
            .append("deptId", getDeptId())
            .append("auditStatus", getAuditStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }

    public List<MipsPageInfo> getPageInfoList() {
        return pageInfoList;
    }

    public void setPageInfoList(List<MipsPageInfo> pageInfoList) {
        this.pageInfoList = pageInfoList;
    }

}
